package com.cobra.upload.result;

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//


import org.springframework.http.HttpStatus;

/**
 * @author cobra
 */
public enum ResultStatus {
    SUCCESS(HttpStatus.OK, 0, "success"),
    SYS_ERROR(HttpStatus.BAD_REQUEST, -9, "系统错误");

    private HttpStatus httpStatus;
    private int code;
    private String msg;

    private ResultStatus(HttpStatus httpStatus, int number, String msg) {
        this.httpStatus = httpStatus;
        this.code = number;
        this.msg = msg;
    }

    public HttpStatus getHttpStatus() {
        return this.httpStatus;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
